{loop $data $n $r}
<li class="slide">
	<a href="{$r['link']}" title="{$r['title']}">
		<img src="{$r[thumb]}" bigsrc="{$r[bigpic]}" alt="{$r['title']}">
	</a>
</li>
{/loop}